package com.youtellv1.service;

import com.github.pagehelper.PageInfo;
import com.youtellv1.entity.Post;

import java.util.List;

public interface PostService {

    PageInfo<Post> findPostByPage(int page, int size);

    Post findAllService(Post post);

    void saveService(Post post);

    void updateService(Post post);

    void deleteService(Post post);

    List<Post> findAll();

    Integer postCountService();
}
